<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="../share/taglib.jsp" %>
<html>
<head>
<title>负责人选择</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language="JavaScript">
//到指定的分页页面
function topage(page){
	var form = document.forms[0];
	form.page.value = page;
	form.submit();
}

function selectEmployee(employeeName) {
	window.returnValue = employeeName;
	window.close();
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0">
<html:form action="/cms/privilege/employee/list.do" method="post">
<html:hidden property="page"/>
<html:hidden property="username"/>
  <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center">
    <tr ><td colspan="4" bgcolor="#ffbe26" align="right">
    	<%@ include file="../share/fenye.jsp" %>
   </td></tr>
    <tr>
      <td width="50%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">负责人</font></div></td>
      <td width="50%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">状态</font></div></td>
    </tr>
<!---------------------------LOOP START------------------------------>
<c:forEach items="${pageView.records}" var="entry">
    <tr>
      <td bgcolor="f5f5f5"><div align="center"><a href="javascript:selectEmployee('${entry.username}');">${entry.username}</a></div></td>
      <td bgcolor="f5f5f5"><div align="center">${entry.visible ? "在职" : "离职"}</div></td>
	</tr>
</c:forEach>
<!----------------------LOOP END------------------------------->
  </table>
</html:form>
</body>
</html>